# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class GooddesignimagespiderItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    # pass

    id = scrapy.Field()
    # 获奖id
    award_id = scrapy.Field()
    # 图片号
    award_code = scrapy.Field()
    # 获奖产品详情页地址
    detail_url = scrapy.Field()
    year = scrapy.Field()
    # 下载状态 0未下载  1下载成功 -1下载失败
    download_status = scrapy.Field()
    # 图片下载地址
    img_download_url = scrapy.Field()
    # 图片名称
    img_file_name = scrapy.Field()
    # 奖项名称
    award_type = scrapy.Field()


# 外卖猿子项
class WaiMaiYuanItem(scrapy.Item):
    # 主键id
    item_id = scrapy.Field()
    # 名称
    item_name = scrapy.Field()
    # 父id
    item_parent_id = scrapy.Field()
    # 备注
    item_remark = scrapy.Field()
    # 业务类型 0菜谱分类
    item_biz_type = scrapy.Field()
